
package com.tocea.formation.users;


import java.sql.ResultSet;
import java.util.List;

import com.tocea.formation.exceptions.NotSuchUserException;

public interface IUserManager
{
    
    IUser connectUser(String _id, String _password) throws NotSuchUserException;
    
    boolean existUser(String _mail);
    
    boolean createUser(String _nom, String _prenom, String _mail, String _pwd, String _privilege);
    
    boolean deleteUser(String _id) throws NotSuchUserException;
    
    //List<IUser> getAllUsers();
    ResultSet getAllUsers();
    
}
